package lab.javacore.collections.student;
import java.util.HashMap;
import java.util.Map;


public class Trainer {
	
	private String email;
	private String name;
	
	private static Map<Integer,Trainer> list = new HashMap<Integer,Trainer>();
	
	static {
		list.put(1, new Trainer("shahid@temp.com", "Shahid"));
		list.put(2, new Trainer("john@temp.com", "John"));
	}
	
	public Trainer(String email, String name) {
		super();
		this.email = email;
		this.name = name;
	}



	public String getEmail() {
		return email;
	}



	public String getName() {
		return name;
	}



	public static Map<Integer, Trainer> getList() {
		return list;
	}
	
}
